home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.amiga
- Path: gaspode.mayn.de!tanis
- From: tanis@gaspode.mayn.de (German Tischler)
- Subject: Re: NetBSD Lynx 2.4-FM won't download .lha files correctly
- X-Newsreader: TIN [version 1.2 PL2+color]
- Organization: gaspode
- Message-ID: <DLzy5s.1Gz@gaspode.mayn.de>
- References: <4drpbl$2gj@crash.microserve.net> <MEC.96Jan25145908@bounce-a2.cise.ufl.edu>
- Date: Tue, 30 Jan 1996 13:44:15 GMT
-
- Michael Cerrato (mec@bounce-a2.cise.ufl.edu) wrote:
- : In article <4drpbl$2gj@crash.microserve.net> jshaffer@pennet.net writes:
-
- : From: jshaffer@pennet.net
- : Newsgroups: comp.unix.amiga
- : Date: 20 Jan 1996 22:12:05 GMT
- : Organization: Microserve Information Systems (800)-380-INET
- : Lines: 7
- : Distribution: world
- : NNTP-Posting-Host: jshaffer.pennet.net
-
- : I'm using Lynx 2.4-FM on NetBSD 1.1, and whenever I click on a link
- : which is a .lha file, it tries to display it as text instead of
- : downloading it. It downloads .gif files as expected, however.
-
- : What am I doing wrong?
-
- : Probably nothing. The http server tells the client what type of file
- : is being transfered. It usually decides this based on the extension
- : of the file. If it doesn't recognize the extension, the default is
- : typically text/plain. With lynx, you can hit "d" (I think) to
- : download the link you are sitting on. If the server doesn't corrupt
- : the file as it transfers it, that ought to work. Otherwise, try to
- : find a way to ftp the file.
-
- : I am the teaching assistant for a class that uses Word for Windows
- : documents. The server doesn't recoginize the .doc extension, and I
- : have the same problem. I solved it by making the links to the
- : documents ftp URL's through the department's anonymous ftp server.
-
- Have a look at the lynx.cfg file (you should find it in /usr/local/lib).
- You can add #SUFFIX entries so lynx will do something different with
- arriving data than display it as text. For example for .lha files add
- #SUFFIX:.lha:application/octet-stream
- and lynx will ask for a diskfile name to save the data.
-
- bye Tanis
-
- --
- ___________________________________________________________________________
- | German `Tanis` Tischler EMail: tanis@gaspode.mayn.de|
- | Brainstorm Computer Club Wuerzburg |
- |___________________________________________________________________________|
-